home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _12328BC6475440B5A7E0AF701A31DF6A < prev    next >
Encoding:
Text File  |  2002-04-29  |  25.5 KB  |  1,241 lines

  1. {
  2.     \\ Create Server
  3.  
  4.     menuDef 
  5.     {
  6.         name                "createserver_menu"
  7.         visible                0
  8.         fullscreen            0
  9.         rect                50 50 432 293
  10.         focusColor            .49 .56 .27 1
  11.         focusColor            1 .75 0 1
  12.  
  13.         tooltipbackcolor    .49 .56 .27 1
  14.         tooltipforecolor    .12 .14 .08 1
  15.         tooltipfont            "hud"
  16.         tooltipscale        .43
  17.         tooltipdelay        500
  18.  
  19.         onOpen 
  20.         { 
  21.             uiScript loadArenas ;
  22.             
  23.             show createserver_maps;
  24.             hide createserver_options;
  25.             hide createserver_bots;
  26.             hide createserver_rmg;
  27.  
  28.             hide rmg_image_alt;
  29. //            hide bots_image_alt;
  30.             show maps_image_alt;
  31.             hide options_image_alt;
  32.  
  33.             show rmg_image;
  34. //            show bots_image;
  35.             hide maps_image;
  36.             show options_image;
  37.  
  38.  
  39.             show rmg_button;
  40.             show options_button;
  41.             hide maps_button;
  42.         }
  43.  
  44.         ////////////////////////////////////////////////////////////////////////
  45.         //    MAPS BUTTON
  46.         ////////////////////////////////////////////////////////////////////////
  47.  
  48.         itemDef
  49.         {
  50.             name        window
  51.               rect        14 9 46 46
  52.             visible        1
  53.             border        1
  54.             bordercolor    0 0 0 1
  55.             decoration
  56.         }
  57.  
  58.         itemDef
  59.         {
  60.             name        maps_image
  61.               style        WINDOW_STYLE_SHADER
  62.             background    "gfx/menus/icons/submenu_maps"
  63.             backcolor    0 0 0 0
  64.             forecolor    .12 .14 .08 1
  65.               rect        22 17 32 32
  66.             visible        1
  67.             decoration
  68.         }
  69.  
  70.         itemDef
  71.         {
  72.             name        maps_image_alt
  73.               style        WINDOW_STYLE_SHADER
  74.             background    "gfx/menus/icons/submenu_maps_alt"
  75.             backcolor    0 0 0 0
  76.             forecolor    .12 .14 .08 1
  77.               rect        22 17 32 32
  78.             visible        0
  79.             decoration
  80.         }
  81.  
  82.         itemDef 
  83.         {
  84.               name        maps_button
  85.             type        ITEM_TYPE_BUTTON
  86.             style        WINDOW_STYLE_EMPTY
  87.               rect        14 9 46 46
  88.               visible        1
  89.             tooltip        "Maps"
  90.  
  91.             mouseEnter
  92.             {
  93.                 play "sound/misc/menus/hilite1.wav" ; 
  94.                 show maps_image_alt;
  95.                 hide maps_image;
  96.             }
  97.             mouseExit
  98.             {
  99.                 show maps_image;
  100.                 hide maps_image_alt;
  101.             }
  102.             action 
  103.             { 
  104.                 play "sound/misc/menus/select.wav" ; 
  105.                 show createserver_maps;
  106.                 show maps_image_alt;
  107.                 hide maps_button;
  108.  
  109.                 show options_button;
  110. //                show bots_button;
  111.                 show rmg_button;
  112.                 hide options_image_alt;
  113. //                hide bots_image_alt;
  114.                 hide rmg_image_alt;
  115.                 show options_image;
  116. //                show bots_image;
  117.                 show rmg_image;
  118.  
  119.                 hide createserver_options;
  120. //                hide createserver_bots;
  121.                 hide createserver_rmg;
  122.             }            
  123.         }
  124.  
  125.         ////////////////////////////////////////////////////////////////////////
  126.         //    MISC OPTIONS BUTTON
  127.         ////////////////////////////////////////////////////////////////////////
  128.  
  129.         itemDef
  130.         {
  131.             name        window
  132.               rect        69 9 46 46
  133.             visible        1
  134.             border        1
  135.             bordercolor    0 0 0 1
  136.             decoration
  137.         }
  138.  
  139.         itemDef
  140.         {
  141.             name        options_image
  142.               style        WINDOW_STYLE_SHADER
  143.             background    "gfx/menus/icons/submenu_misc"
  144.             backcolor    0 0 0 0
  145.             forecolor    .12 .14 .08 1
  146.               rect        76 17 32 32
  147.             visible        1
  148.             decoration
  149.         }
  150.  
  151.         itemDef
  152.         {
  153.             name        options_image_alt
  154.               style        WINDOW_STYLE_SHADER
  155.             background    "gfx/menus/icons/submenu_misc_alt"
  156.             backcolor    0 0 0 0
  157.             forecolor    .12 .14 .08 1
  158.               rect        76 17 32 32
  159.             visible        0
  160.             decoration
  161.         }
  162.  
  163.         itemDef 
  164.         {
  165.               name        options_button
  166.             style        WINDOW_STYLE_EMPTY
  167.             type        ITEM_TYPE_BUTTON
  168.               rect        69 9 46 46
  169.               visible        1 
  170.             tooltip        "Options"
  171.  
  172.             mouseEnter
  173.             {
  174.                 play "sound/misc/menus/hilite1.wav" ; 
  175.                 show options_image_alt;
  176.                 hide options_image;
  177.             }
  178.             mouseExit
  179.             {
  180.                 show options_image;
  181.                 hide options_image_alt;
  182.             }
  183.             action 
  184.             { 
  185.                 play "sound/misc/menus/select.wav" ; 
  186.                 show createserver_options;
  187.                 show options_image_alt;
  188.                 hide options_button;
  189.  
  190.                 show maps_button;
  191. //                show bots_button;
  192.                 show rmg_button;
  193.                 hide maps_image_alt;
  194. //                hide bots_image_alt;
  195.                 hide rmg_image_alt;
  196.                 show maps_image;
  197. //                show bots_image;
  198.                 show rmg_image;
  199.  
  200.                 hide createserver_maps;
  201. //                hide createserver_bots;
  202.                 hide createserver_rmg;
  203.             }
  204.         }
  205.  
  206. /*
  207.         ////////////////////////////////////////////////////////////////////////
  208.         //    BOTS BUTTON
  209.         ////////////////////////////////////////////////////////////////////////
  210.  
  211.         itemDef
  212.         {
  213.             name        window
  214.               rect        124 9 46 46
  215.             visible        1
  216.             border        1
  217.             bordercolor    0 0 0 1
  218.             decoration
  219.         }
  220.  
  221.         itemDef
  222.         {
  223.             name        bots_image
  224.               style        WINDOW_STYLE_SHADER
  225.             background    "gfx/menus/icons/submenu_bots"
  226.             backcolor    0 0 0 0
  227.             forecolor    .12 .14 .08 1
  228.               rect        131 17 32 32
  229.             visible        1
  230.             decoration
  231.         }
  232.  
  233.         itemDef
  234.         {
  235.             name        bots_image_alt
  236.               style        WINDOW_STYLE_SHADER
  237.             background    "gfx/menus/icons/submenu_bots_alt"
  238.             backcolor    0 0 0 0
  239.             forecolor    .12 .14 .08 1
  240.               rect        131 17 32 32
  241.             visible        0
  242.             decoration
  243.         }
  244.  
  245.         itemDef 
  246.         {
  247.               name        bots_button
  248.             style        WINDOW_STYLE_EMPTY
  249.             type        ITEM_TYPE_BUTTON
  250.               rect        124 9 46 46
  251.               visible        1 
  252.             tooltip        "Bots"
  253.  
  254.             mouseEnter
  255.             {
  256.                 play "sound/misc/menus/hilite1.wav" ; 
  257.                 show bots_image_alt;
  258.                 hide bots_image;
  259.             }
  260.             mouseExit
  261.             {
  262.                 show bots_image;
  263.                 hide bots_image_alt;
  264.             }
  265.             action 
  266.             { 
  267.                 play "sound/misc/menus/select.wav" ; 
  268.                 show createserver_bots;
  269.                 show bots_image_alt;
  270.                 hide bots_button;
  271.  
  272.                 show maps_button;
  273.                 show options_button;
  274.                 show rmg_button;
  275.                 hide maps_image_alt;
  276.                 hide options_image_alt;
  277.                 hide rmg_image_alt;
  278.                 show maps_image;
  279.                 show options_image;
  280.                 show rmg_image;
  281.  
  282.                 hide createserver_maps;
  283.                 hide createserver_options;
  284.                 hide createserver_rmg;
  285.             }
  286.         }
  287. */
  288.  
  289.         ////////////////////////////////////////////////////////////////////////
  290.         //    RMG BUTTON
  291.         ////////////////////////////////////////////////////////////////////////
  292.  
  293.         itemDef
  294.         {
  295.             name        window
  296.               rect        124 9 46 46
  297.             visible        1
  298.             border        1
  299.             bordercolor    0 0 0 1
  300.             decoration
  301.  
  302.             cvarTest        "ui_currentNetMapName"
  303.             showCvar 
  304.             { 
  305.                 "*random";
  306.             }
  307.         }
  308.  
  309.         itemDef
  310.         {
  311.             name        rmg_image
  312.               style        WINDOW_STYLE_SHADER
  313.             background    "gfx/menus/icons/submenu_rmg"
  314.             backcolor    0 0 0 0
  315.             forecolor    .12 .14 .08 1
  316.               rect        131 17 32 32
  317.             visible        1
  318.             decoration
  319.  
  320.             cvarTest        "ui_currentNetMapName"
  321.             showCvar 
  322.             { 
  323.                 "*random";
  324.             }
  325.         }
  326.  
  327.         itemDef
  328.         {
  329.             name        rmg_image_alt
  330.               style        WINDOW_STYLE_SHADER
  331.             background    "gfx/menus/icons/submenu_rmg_alt"
  332.             backcolor    0 0 0 0
  333.             forecolor    .12 .14 .08 1
  334.               rect        131 17 32 32
  335.             visible        1
  336.             decoration
  337.  
  338.             cvarTest        "ui_currentNetMapName"
  339.             showCvar 
  340.             { 
  341.                 "*random";
  342.             }
  343.         }
  344.  
  345.         itemDef 
  346.         {
  347.               name        rmg_button
  348.             style        WINDOW_STYLE_EMPTY
  349.             type        ITEM_TYPE_BUTTON
  350.               rect        124 9 46 46
  351.               visible        1
  352.             tooltip        "Random Options"
  353.  
  354.             mouseEnter
  355.             {
  356.                 play "sound/misc/menus/hilite1.wav" ; 
  357.                 show rmg_image_alt;
  358.                 hide rmg_image;
  359.             }
  360.             mouseExit
  361.             {
  362.                 show rmg_image;
  363.                 hide rmg_image_alt;
  364.             }
  365.             action 
  366.             { 
  367.                 play "sound/misc/menus/select.wav" ; 
  368.                 show createserver_rmg;
  369.                 show rmg_image_alt;
  370.                 hide rmg_button;
  371.  
  372.                 show maps_button;
  373.                 show options_button;
  374. //                show bots_button;
  375.                 hide maps_image_alt;
  376.                 hide options_image_alt;
  377. //                hide bots_image_alt;
  378.                 show maps_image;
  379.                 show options_image;
  380. //                show bots_image;
  381.  
  382.                 hide createserver_maps;
  383.                 hide createserver_options;
  384. //                hide createserver_bots;
  385.             }
  386.  
  387.             cvarTest        "ui_currentNetMapName"
  388.             showCvar 
  389.             { 
  390.                 "*random";
  391.             }
  392.         }
  393.  
  394.         itemDef
  395.         {
  396.             name        window
  397.              rect        375 9 46 46 
  398.             visible        1
  399.             border        1
  400.             bordercolor    0 0 0 1
  401.             decoration
  402.         }
  403.  
  404.         itemDef
  405.         {
  406.             name        start_image
  407.               style        WINDOW_STYLE_SHADER
  408.             background    "gfx/menus/icons/submenu_start"
  409.             backcolor    0 0 0 0
  410.             forecolor    .12 .14 .08 1
  411.              rect        383 17 32 32 
  412.             visible        1
  413.             decoration
  414.         }
  415.  
  416.         itemDef
  417.         {
  418.             name        start_image_alt
  419.               style        WINDOW_STYLE_SHADER
  420.             background    "gfx/menus/icons/submenu_start_alt"
  421.             backcolor    0 0 0 0
  422.             forecolor    .12 .14 .08 1
  423.              rect        383 17 32 32 
  424.             visible        0
  425.             decoration
  426.         }
  427.  
  428.         itemDef 
  429.         {
  430.               name        start_button
  431.               style        WINDOW_STYLE_EMPTY
  432.              rect        375 9 46 46 
  433.             type        ITEM_TYPE_BUTTON
  434.               visible        1
  435.             tooltip        "Start Server"
  436.  
  437.             mouseEnter
  438.             {
  439.                 play "sound/misc/menus/hilite1.wav" ; 
  440.                 show start_image_alt;
  441.                 hide start_image;
  442.             }
  443.  
  444.             mouseExit
  445.             {
  446.                 show start_image;
  447.                 hide start_image_alt;
  448.             }
  449.               
  450.             action 
  451.             { 
  452.                 uiScript StartServer
  453.             }
  454.         }
  455.  
  456.         itemDef
  457.         {
  458.             name        window
  459.             rect        8 60 418 3
  460.             style        WINDOW_STYLE_FILLED
  461.             backcolor    0 0 0 1
  462.             visible        1
  463.             decoration
  464.         }
  465.  
  466.         ////////////////////////////////////////////////////////////////////////
  467.         //     Map selection
  468.         ////////////////////////////////////////////////////////////////////////
  469.  
  470.         itemDef 
  471.         {
  472.               name        gametype_field
  473.             group        createserver_maps
  474.               style        WINDOW_STYLE_FILLED
  475.             ownerdraw    UI_NETGAMETYPE
  476.             text        "Type:"
  477.               rect        15 71 200 25 
  478.               textalign    ITEM_ALIGN_LEFT        
  479.               textalignx    5     
  480.               textaligny    4
  481.             textfont    "hud"
  482.             textscale    .43
  483.               forecolor    .12 .14 .08 1
  484.             backcolor    0 0 0 0
  485.               visible 1
  486.             
  487.             action 
  488.             { 
  489.                 play "sound/misc/menus/select.wav" ; 
  490.             }
  491.  
  492.             mouseEnter
  493.             {
  494.                 play "sound/misc/menus/hilite1.wav" ; 
  495.                 setitemcolor gametype_field backcolor .12 .14 .08 1
  496.                 setitemcolor gametype_field forecolor .49 .56 .27 1
  497.             }
  498.  
  499.             mouseExit
  500.             {
  501.                 setitemcolor gametype_field backcolor 0 0 0 0
  502.                 setitemcolor gametype_field forecolor .12 .14 .08 1
  503.             }
  504.         }
  505.  
  506.         itemDef 
  507.         {
  508.               name            mappreview
  509.             group            createserver_maps
  510.               style            WINDOW_STYLE_FILLED
  511.              ownerdraw        UI_MAPPREVIEW
  512.               rect            15 102 200 160
  513.               border            1
  514.               bordercolor        0 0 0 1
  515.             backcolor        0 0 0 .25
  516.               visible            1 
  517.         }
  518.  
  519.         itemDef 
  520.         {
  521.             name            map_list
  522.             group            createserver_maps
  523.               rect            220 70 205 193
  524.             type            ITEM_TYPE_LISTBOX
  525.             style            WINDOW_STYLE_FILLED
  526.             elementwidth    120
  527.             elementheight    15
  528.             textfont        "hud"
  529.             textscale        .43
  530.             elementtype        LISTBOX_TEXT
  531.             feeder            FEEDER_ALLMAPS
  532.             textaligny        -13
  533.             border            1
  534.             bordercolor        0 0 0 1
  535.             forecolor        1 1 1 1
  536.             backcolor        0 0 0 .25
  537.             outlinecolor    .23 .26 .17 1
  538.             visible            1
  539.             columns            1 2 190 26
  540.           }
  541.  
  542.         ////////////////////////////////////////////////////////////////////////
  543.         //     MISC OPTIONS
  544.         ////////////////////////////////////////////////////////////////////////
  545.  
  546.         itemDef 
  547.         {
  548.               name            teamlimit_field
  549.             group            createserver_options
  550.             type            ITEM_TYPE_NUMERICFIELD
  551.             style            WINDOW_STYLE_FILLED
  552.             text            "Score Limit:"
  553.             cvar            "scorelimit" 
  554.              rect            50 92 210 15
  555.             textalign        ITEM_ALIGN_RIGHT
  556.             textalignx        120
  557.             textaligny        0
  558.             maxchars        4
  559.             textfont        "hud"
  560.             textscale        .43
  561.               forecolor        .12 .14 .08 1
  562.             backcolor        0 0 0 0
  563.             visible            1 
  564.  
  565.             action 
  566.             { 
  567.                 play "sound/misc/menus/select.wav" ; 
  568.             }
  569.  
  570.             mouseEnter
  571.             {
  572.                 play "sound/misc/menus/hilite1.wav" ; 
  573.                 setitemcolor teamlimit_field backcolor .12 .14 .08 1
  574.                 setitemcolor teamlimit_field forecolor .49 .56 .27 1
  575.             }
  576.  
  577.             mouseExit
  578.             {
  579.                 setitemcolor teamlimit_field backcolor 0 0 0 0
  580.                 setitemcolor teamlimit_field forecolor .12 .14 .08 1
  581.             }
  582.         }
  583.  
  584.         itemDef 
  585.         {
  586.               name            timelimit_field
  587.             group            createserver_options
  588.              type            ITEM_TYPE_NUMERICFIELD
  589.             style            WINDOW_STYLE_FILLED
  590.             text            "Time Limit:"
  591.             cvar            "timelimit"
  592.               rect            50 107 210 15
  593.               textalign        ITEM_ALIGN_RIGHT
  594.               textalignx        120
  595.             maxchars        4
  596.               textaligny        0
  597.             textfont        "hud"
  598.             textscale        .43
  599.              forecolor        .12 .14 .08 1
  600.             backcolor        0 0 0 0
  601.             visible            1 
  602.  
  603.             action 
  604.             { 
  605.                 play "sound/misc/menus/select.wav" ; 
  606.             }
  607.  
  608.             mouseEnter
  609.             {
  610.                 play "sound/misc/menus/hilite1.wav" ; 
  611.                 setitemcolor timelimit_field backcolor .12 .14 .08 1
  612.                 setitemcolor timelimit_field forecolor .49 .56 .27 1
  613.             }
  614.  
  615.             mouseExit
  616.             {
  617.                 setitemcolor timelimit_field backcolor 0 0 0 0
  618.                 setitemcolor timelimit_field forecolor .12 .14 .08 1
  619.             }
  620.         }
  621.  
  622.         itemDef 
  623.         {
  624.               name            timeextension_field
  625.             group            createserver_options
  626.              type            ITEM_TYPE_NUMERICFIELD
  627.             style            WINDOW_STYLE_FILLED
  628.             text            "Time Extension:"
  629.             cvar            "g_timeextension"
  630.               rect            20 122 240 15
  631.               textalign        ITEM_ALIGN_RIGHT
  632.               textalignx        150
  633.             maxchars        4
  634.               textaligny        0
  635.             textfont        "hud"
  636.             textscale        .43
  637.              forecolor        .12 .14 .08 1
  638.             backcolor        0 0 0 0
  639.             visible            1 
  640.  
  641.             action 
  642.             { 
  643.                 play "sound/misc/menus/select.wav" ; 
  644.             }
  645.  
  646.             mouseEnter
  647.             {
  648.                 play "sound/misc/menus/hilite1.wav" ; 
  649.                 setitemcolor timeextension_field backcolor .12 .14 .08 1
  650.                 setitemcolor timeextension_field forecolor .49 .56 .27 1
  651.             }
  652.  
  653.             mouseExit
  654.             {
  655.                 setitemcolor timeextension_field backcolor 0 0 0 0
  656.                 setitemcolor timeextension_field forecolor .12 .14 .08 1
  657.             }
  658.         }
  659.  
  660.         itemDef 
  661.         {
  662.               name            roundlimit_field
  663.             group            createserver_options
  664.             type            ITEM_TYPE_NUMERICFIELD
  665.             style            WINDOW_STYLE_FILLED
  666.             text            "Round Time Limit:"
  667.             cvar            "g_roundtimelimit"
  668.               rect            50 137 210 15
  669.               textalign        ITEM_ALIGN_RIGHT
  670.               textalignx        120
  671.             maxchars        4
  672.               textaligny        0
  673.             textfont        "hud"
  674.             textscale        .43
  675.              forecolor        .12 .14 .08 1
  676.             backcolor        0 0 0 0
  677.             visible            1
  678.  
  679.             cvarTest        "ui_gtRespawnType"
  680.             showCvar
  681.             {
  682.                 3
  683.             }
  684.  
  685.             action 
  686.             { 
  687.                 play "sound/misc/menus/select.wav" ; 
  688.             }
  689.  
  690.             mouseEnter
  691.             {
  692.                 play "sound/misc/menus/hilite1.wav" ; 
  693.                 setitemcolor roundlimit_field backcolor .12 .14 .08 1
  694.                 setitemcolor roundlimit_field forecolor .49 .56 .27 1
  695.             }
  696.  
  697.             mouseExit
  698.             {
  699.                 setitemcolor roundlimit_field backcolor 0 0 0 0
  700.                 setitemcolor roundlimit_field forecolor .12 .14 .08 1
  701.             }
  702.         }
  703.  
  704.         itemDef 
  705.         {
  706.               name            respawninterval_field
  707.             group            createserver_options
  708.             type            ITEM_TYPE_NUMERICFIELD
  709.             style            WINDOW_STYLE_FILLED
  710.             text            "Respawn Interval:"
  711.             cvar            "g_respawnInterval"
  712.               rect            50 137 210 15
  713.               textalign        ITEM_ALIGN_RIGHT
  714.               textalignx        120
  715.             maxchars        4
  716.               textaligny        0
  717.             textfont        "hud"
  718.             textscale        .43
  719.              forecolor        .12 .14 .08 1
  720.             backcolor        0 0 0 0
  721.             visible            1
  722.  
  723.             cvarTest        "ui_gtRespawnType"
  724.             showCvar
  725.             {
  726.                 2
  727.             }
  728.  
  729.             action 
  730.             { 
  731.                 play "sound/misc/menus/select.wav" ; 
  732.             }
  733.  
  734.             mouseEnter
  735.             {
  736.                 play "sound/misc/menus/hilite1.wav" ; 
  737.                 setitemcolor respawninterval_field backcolor .12 .14 .08 1
  738.                 setitemcolor respawninterval_field forecolor .49 .56 .27 1
  739.             }
  740.  
  741.             mouseExit
  742.             {
  743.                 setitemcolor respawninterval_field backcolor 0 0 0 0
  744.                 setitemcolor respawninterval_field forecolor .12 .14 .08 1
  745.             }
  746.         }
  747.  
  748.         itemDef 
  749.         {
  750.               name            friedlyfire_yesno
  751.             group            createserver_options
  752.               type            ITEM_TYPE_YESNO
  753.             style            WINDOW_STYLE_FILLED
  754.             text            "Friendly Fire:"
  755.             cvar            "g_friendlyfire"
  756.               rect            50 152 210 15
  757.               textalign        ITEM_ALIGN_RIGHT
  758.               textalignx        120
  759.               textaligny        0
  760.             textfont        "hud"
  761.             textscale        .43
  762.              forecolor        .12 .14 .08 1
  763.             backcolor        0 0 0 0
  764.             visible            1 
  765.  
  766.             action 
  767.             { 
  768.                 play "sound/misc/menus/select.wav" ; 
  769.             }
  770.  
  771.             mouseEnter
  772.             {
  773.                 play "sound/misc/menus/hilite1.wav" ; 
  774.                 setitemcolor friedlyfire_yesno backcolor .12 .14 .08 1
  775.                 setitemcolor friedlyfire_yesno forecolor .49 .56 .27 1
  776.             }
  777.  
  778.             mouseExit
  779.             {
  780.                 setitemcolor friedlyfire_yesno backcolor 0 0 0 0
  781.                 setitemcolor friedlyfire_yesno forecolor .12 .14 .08 1
  782.             }
  783.         }
  784.  
  785.         itemDef 
  786.         {
  787.               name            pickupsdisabled_yesno
  788.             group            createserver_options
  789.               type            ITEM_TYPE_YESNO
  790.             style            WINDOW_STYLE_FILLED
  791.             text            "Pickups Disabled:"
  792.             cvar            "g_pickupsDisabled"
  793.               rect            50 167 210 15
  794.               textalign        ITEM_ALIGN_RIGHT
  795.               textalignx        120
  796.               textaligny        0
  797.             textfont        "hud"
  798.             textscale        .43
  799.              forecolor        .12 .14 .08 1
  800.             backcolor        0 0 0 0
  801.             visible            1 
  802.  
  803.             cvarTest        "ui_gtPickupsDisabled"
  804.             showCvar
  805.             {
  806.                 0
  807.             }
  808.  
  809.             action 
  810.             { 
  811.                 play "sound/misc/menus/select.wav" ; 
  812.             }
  813.  
  814.             mouseEnter
  815.             {
  816.                 play "sound/misc/menus/hilite1.wav" ; 
  817.                 setitemcolor pickupsdisabled_yesno backcolor .12 .14 .08 1
  818.                 setitemcolor pickupsdisabled_yesno forecolor .49 .56 .27 1
  819.             }
  820.  
  821.             mouseExit
  822.             {
  823.                 setitemcolor pickupsdisabled_yesno backcolor 0 0 0 0
  824.                 setitemcolor pickupsdisabled_yesno forecolor .12 .14 .08 1
  825.             }
  826.         }
  827.  
  828.         itemDef 
  829.         {
  830.               name            pure_yesno
  831.             group            createserver_options
  832.               type            ITEM_TYPE_YESNO
  833.             style            WINDOW_STYLE_FILLED
  834.             text            "Pure Server:"
  835.             cvar            "sv_pure"
  836.               rect            50 192 210 15 
  837.               textalign        ITEM_ALIGN_RIGHT
  838.               textalignx        120
  839.               textaligny        0
  840.             textfont        "hud"
  841.             textscale        .43
  842.              forecolor        .12 .14 .08 1
  843.             backcolor        0 0 0 0
  844.             visible            1 
  845.  
  846.             action 
  847.             { 
  848.                 play "sound/misc/menus/select.wav" ; 
  849.             }
  850.  
  851.             mouseEnter
  852.             {
  853.                 play "sound/misc/menus/hilite1.wav" ; 
  854.                 setitemcolor pure_yesno backcolor .12 .14 .08 1
  855.                 setitemcolor pure_yesno forecolor .49 .56 .27 1
  856.             }
  857.  
  858.             mouseExit
  859.             {
  860.                 setitemcolor pure_yesno backcolor 0 0 0 0
  861.                 setitemcolor pure_yesno forecolor .12 .14 .08 1
  862.             }
  863.         }
  864.  
  865.         itemDef 
  866.         {
  867.               name            dedicated_field
  868.             group            createserver_options
  869.               type            ITEM_TYPE_MULTI
  870.             style            WINDOW_STYLE_FILLED
  871.             text            "Dedicated:"
  872.         
  873.             cvar            "ui_dedicated"
  874.             cvarFloatList    { "No" 0 "LAN" 1 "Internet" 2 }        
  875.             rect            50 207 210 15 
  876.             textalign        ITEM_ALIGN_RIGHT
  877.             textalignx        120
  878.             textaligny        0
  879.             textfont        "hud"
  880.             textscale        .43
  881.              forecolor        .12 .14 .08 1
  882.             backcolor        0 0 0 0
  883.             visible            1 
  884.  
  885.             action 
  886.             { 
  887.                 play "sound/misc/menus/select.wav" ; 
  888.             }
  889.  
  890.             mouseEnter
  891.             {
  892.                 play "sound/misc/menus/hilite1.wav" ; 
  893.                 setitemcolor dedicated_field backcolor .12 .14 .08 1
  894.                 setitemcolor dedicated_field forecolor .49 .56 .27 1
  895.             }
  896.  
  897.             mouseExit
  898.             {
  899.                 setitemcolor dedicated_field backcolor 0 0 0 0
  900.                 setitemcolor dedicated_field forecolor .12 .14 .08 1
  901.             }
  902.         }
  903.  
  904.         itemDef 
  905.         {
  906.               name            hostname_field
  907.             group            createserver_options
  908.               type            ITEM_TYPE_EDITFIELD
  909.             style            WINDOW_STYLE_FILLED
  910.             text            "Host Name:"
  911.             maxChars        32
  912.             maxPaintChars    22
  913.             cvar            "sv_hostname"
  914.             rect            50 222 325 15 
  915.             textalign        ITEM_ALIGN_RIGHT
  916.             textalignx        120
  917.             textaligny        0
  918.             textfont        "hud"
  919.             textscale        .43
  920.              forecolor        .12 .14 .08 1
  921.             backcolor        0 0 0 0
  922.             visible            1 
  923.  
  924.             action 
  925.             { 
  926.                 play "sound/misc/menus/select.wav" ; 
  927.             }
  928.  
  929.             mouseEnter
  930.             {
  931.                 play "sound/misc/menus/hilite1.wav" ; 
  932.                 setitemcolor hostname_field backcolor .12 .14 .08 1
  933.                 setitemcolor hostname_field forecolor .49 .56 .27 1
  934.             }
  935.  
  936.             mouseExit
  937.             {
  938.                 setitemcolor hostname_field backcolor 0 0 0 0
  939.                 setitemcolor hostname_field forecolor .12 .14 .08 1
  940.             }
  941.         }
  942.  
  943.         itemDef 
  944.         {
  945.               name            maxplayers_field
  946.             group            createserver_options
  947.               type            ITEM_TYPE_EDITFIELD
  948.             style            WINDOW_STYLE_FILLED
  949.             text            "Maximum Players:"
  950.             maxChars        2
  951.             cvar            "sv_maxclients"
  952.             rect            30 237 230 15 
  953.             textalign        ITEM_ALIGN_RIGHT
  954.             textalignx        140
  955.             textaligny        0
  956.             textfont        "hud"
  957.             textscale        .43
  958.              forecolor        .12 .14 .08 1
  959.             backcolor        0 0 0 0
  960.             visible            1 
  961.  
  962.             action 
  963.             { 
  964.                 play "sound/misc/menus/select.wav" ; 
  965.             }
  966.  
  967.             mouseEnter
  968.             {
  969.                 play "sound/misc/menus/hilite1.wav" ; 
  970.                 setitemcolor maxplayers_field backcolor .12 .14 .08 1
  971.                 setitemcolor maxplayers_field forecolor .49 .56 .27 1
  972.             }
  973.  
  974.             mouseExit
  975.             {
  976.                 setitemcolor maxplayers_field backcolor 0 0 0 0
  977.                 setitemcolor maxplayers_field forecolor .12 .14 .08 1
  978.             }
  979.         }
  980.  
  981.  
  982.         itemDef 
  983.         {
  984.               name            password_field
  985.             group            createserver_options
  986.               type            ITEM_TYPE_EDITFIELD
  987.             style            WINDOW_STYLE_FILLED
  988.             text            "Password:"
  989.             cvar            "g_password"
  990.             rect            50 252 325 15 
  991.             textalign        ITEM_ALIGN_RIGHT
  992.             textalignx        120
  993.             textaligny        0
  994.             textfont        "hud"
  995.             textscale        .43
  996.              forecolor        .12 .14 .08 1
  997.             backcolor        0 0 0 0
  998.             visible            1 
  999.             maxchars        10
  1000.             maxPaintChars    10
  1001.  
  1002.             action 
  1003.             { 
  1004.                 play "sound/misc/menus/select.wav" ; 
  1005.             }
  1006.  
  1007.             mouseEnter
  1008.             {
  1009.                 play "sound/misc/menus/hilite1.wav" ; 
  1010.                 setitemcolor password_field backcolor .12 .14 .08 1
  1011.                 setitemcolor password_field forecolor .49 .56 .27 1
  1012.             }
  1013.  
  1014.             mouseExit
  1015.             {
  1016.                 setitemcolor password_field backcolor 0 0 0 0
  1017.                 setitemcolor password_field forecolor .12 .14 .08 1
  1018.             }
  1019.         }
  1020.  
  1021.         ////////////////////////////////////////////////////////////////////////
  1022.         //    RMG Options
  1023.         ////////////////////////////////////////////////////////////////////////
  1024.         itemDef 
  1025.         {
  1026.               name            rmg_location_field
  1027.             group            createserver_rmg
  1028.               type            ITEM_TYPE_MULTI
  1029.             style            WINDOW_STYLE_FILLED
  1030.             text            "Location:"
  1031.         
  1032.             cvar            "ui_rmg_config"
  1033.             cvarStrList        { "Desert","desert","Hills","grassyhills","Jungle","jungle","Snow","snowy","Random","?" }
  1034.               rect            80 100 210 20
  1035.             textalign        ITEM_ALIGN_RIGHT
  1036.             textalignx        70
  1037.             textaligny        0
  1038.             textfont        "hud"
  1039.             textscale        .45
  1040.              forecolor        .12 .14 .08 1
  1041.             backcolor        0 0 0 0
  1042.             visible            1 
  1043.  
  1044.             action 
  1045.             { 
  1046.                 play "sound/misc/menus/select.wav" ; 
  1047.             }
  1048.  
  1049.             mouseEnter
  1050.             {
  1051.                 play "sound/misc/menus/hilite1.wav" ; 
  1052.                 setitemcolor rmg_location_field backcolor .12 .14 .08 1
  1053.                 setitemcolor rmg_location_field forecolor .49 .56 .27 1
  1054.             }
  1055.  
  1056.             mouseExit
  1057.             {
  1058.                 setitemcolor rmg_location_field backcolor 0 0 0 0
  1059.                 setitemcolor rmg_location_field forecolor .12 .14 .08 1
  1060.             }
  1061.         }
  1062.  
  1063.         itemDef 
  1064.         {
  1065.               name            rmg_size_field
  1066.             group            createserver_rmg
  1067.               type            ITEM_TYPE_MULTI
  1068.             style            WINDOW_STYLE_FILLED
  1069.             text            "Size:"
  1070.         
  1071.             cvar            "ui_rmg_size"
  1072.             cvarStrList        { "Small","small","Medium","medium" }
  1073.               rect            80 120 210 20
  1074.             textalign        ITEM_ALIGN_RIGHT
  1075.             textalignx        70
  1076.             textaligny        0
  1077.             textfont        "hud"
  1078.             textscale        .45
  1079.              forecolor        .12 .14 .08 1
  1080.             backcolor        0 0 0 0
  1081.             visible            1 
  1082.  
  1083.             action 
  1084.             { 
  1085.                 play "sound/misc/menus/select.wav" ; 
  1086.             }
  1087.  
  1088.             mouseEnter
  1089.             {
  1090.                 play "sound/misc/menus/hilite1.wav" ; 
  1091.                 setitemcolor rmg_size_field backcolor .12 .14 .08 1
  1092.                 setitemcolor rmg_size_field forecolor .49 .56 .27 1
  1093.             }
  1094.  
  1095.             mouseExit
  1096.             {
  1097.                 setitemcolor rmg_size_field backcolor 0 0 0 0
  1098.                 setitemcolor rmg_size_field forecolor .12 .14 .08 1
  1099.             }
  1100.         }
  1101.  
  1102.         itemDef 
  1103.         {
  1104.               name            rmg_time_field
  1105.             group            createserver_rmg
  1106.               type            ITEM_TYPE_MULTI
  1107.             style            WINDOW_STYLE_FILLED
  1108.             text            "Time:"
  1109.         
  1110.             cvar            "ui_rmg_time"
  1111.             cvarStrList        { "Morning", "morning", "Day","day","Night","night","Random","?" }
  1112.               rect            80 140 210 20
  1113.             textalign        ITEM_ALIGN_RIGHT
  1114.             textalignx        70
  1115.             textaligny        0
  1116.             textfont        "hud"
  1117.             textscale        .45
  1118.              forecolor        .12 .14 .08 1
  1119.             backcolor        0 0 0 0
  1120.             visible            1 
  1121.  
  1122.             action 
  1123.             { 
  1124.                 play "sound/misc/menus/select.wav" ; 
  1125.             }
  1126.  
  1127.             mouseEnter
  1128.             {
  1129.                 play "sound/misc/menus/hilite1.wav" ; 
  1130.                 setitemcolor rmg_time_field backcolor .12 .14 .08 1
  1131.                 setitemcolor rmg_time_field forecolor .49 .56 .27 1
  1132.             }
  1133.  
  1134.             mouseExit
  1135.             {
  1136.                 setitemcolor rmg_time_field backcolor 0 0 0 0
  1137.                 setitemcolor rmg_time_field forecolor .12 .14 .08 1
  1138.             }
  1139.         }
  1140.  
  1141.         itemDef 
  1142.         {
  1143.               name            seed_field
  1144.             group            createserver_rmg
  1145.               type            ITEM_TYPE_EDITFIELD
  1146.             style            WINDOW_STYLE_FILLED
  1147.             text            "Seed:"
  1148.             maxChars        20
  1149.             maxPaintChars    20
  1150.             cvar            "ui_rmg_seed"
  1151.               rect            80 160 320 20
  1152.             textalign        ITEM_ALIGN_RIGHT
  1153.             textalignx        70
  1154.             textaligny        0
  1155.             textfont        "hud"
  1156.             textscale        .45
  1157.              forecolor        .12 .14 .08 1
  1158.             backcolor        0 0 0 0
  1159.             visible            1 
  1160.  
  1161.             action 
  1162.             { 
  1163.                 play "sound/misc/menus/select.wav" ; 
  1164.             }
  1165.  
  1166.             mouseEnter
  1167.             {
  1168.                 play "sound/misc/menus/hilite1.wav" ; 
  1169.                 setitemcolor seed_field backcolor .12 .14 .08 1
  1170.                 setitemcolor seed_field forecolor .49 .56 .27 1
  1171.             }
  1172.  
  1173.             mouseExit
  1174.             {
  1175.                 setitemcolor seed_field backcolor 0 0 0 0
  1176.                 setitemcolor seed_field forecolor .12 .14 .08 1
  1177.             }
  1178.         }
  1179.  
  1180.         itemDef 
  1181.         {
  1182.             name        randomsettings_button
  1183.             group        createserver_rmg
  1184.             text        "Random Settings"
  1185.             type        ITEM_TYPE_BUTTON
  1186.             style        WINDOW_STYLE_FILLED
  1187.               rect        100 200 150 20
  1188.  
  1189.             textfont        "hud"
  1190.             textscale        .43
  1191.             textalign    0
  1192.               textalignx    20
  1193.              textaligny    1
  1194.             forecolor    .12 .14 .08 1
  1195.             backcolor    0 0 0 0
  1196.             visible        1
  1197.             border        1
  1198.             bordercolor    0 0 0 1
  1199.             
  1200.             action 
  1201.             { 
  1202.                 play "sound/misc/menus/select.wav" ; 
  1203.                 uiScript RMGRandomSettings
  1204. //                close cdkey_popmenu ; 
  1205.             }
  1206.             mouseEnter 
  1207.             { 
  1208.                 play "sound/misc/menus/hilite1.wav" ; 
  1209.                 setitemcolor randomsettings_button backcolor .12 .14 .08 1
  1210.                 setitemcolor randomsettings_button forecolor .49 .56 .27 1
  1211.             }                 
  1212.             mouseExit 
  1213.             { 
  1214.                 setitemcolor randomsettings_button backcolor 0 0 0 0
  1215.                 setitemcolor randomsettings_button forecolor .12 .14 .08 1
  1216.             }
  1217.         }
  1218.  
  1219.  
  1220.         itemDef 
  1221.         {
  1222.               name            lastseed_field
  1223.             group            createserver_rmg
  1224.               type            ITEM_TYPE_EDITFIELD
  1225.             text            "Last Seed:"
  1226.             maxPaintChars    20
  1227.             cvar            "rmg_textseed"
  1228.               rect            80 240 320 20
  1229.             textalign        ITEM_ALIGN_RIGHT
  1230.             textalignx        70
  1231.             textaligny        0
  1232.             textfont        "hud"
  1233.             textscale        .45
  1234.              forecolor        .12 .14 .08 1
  1235.             backcolor        0 0 0 0
  1236.             visible            1 
  1237.             decoration
  1238.         }
  1239.     }
  1240. }
  1241.